package me.leiusual.sharing.api.model

/**
 * Create by leiusual on 2018/7/22
 */
class Invited {

  data class Request(
      val currentUserId: Long,
      val levelOffset: Int,
      val pageIndex: Int,
      val pageSize: Int,
      val targetUserId: Long
  )

  data class Response(
      val currentUser: User,
      val layerLevel: Int,
      val targetUser: User,
      val invitedUsers: List<User>
  ) {

    data class User(
        val id: Long,
        val username: String,
        val realName: String?,
        val avatar: String,
        val invitedCount: Int,
        val storeInfo: String,
        val createTime: String
    )
  }
}